package com.niiwoo.civet.trade.dto.response.myloan;

import com.niiwoo.civet.trade.dto.common.CurrMonthRefundPlanDTO;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Getter
@Setter
public class LoanIndexQueryResponseDTO implements Serializable{
    private static final long serialVersionUID = -4977143390999943289L;
    /**
     * 应还总金额
     */
    private BigDecimal toRepayAmountTotal;

    /**
     * 已还总额
     */
    private BigDecimal repayedAmountTotal;

    /**
     * 极速借剩余额度
     */
    private BigDecimal fastLoanRemainAmount;

    /**
     * 信用借剩余额度
     */
    private BigDecimal creditLoanRemainAmount;

    /**
     * 当月应还金额
     */
    private BigDecimal toRepayCurrentMonth;

    /**
     * (value = "(new)银行卡后四位",  required = true)
     */
    private String bankAccountLast;

    /**
     * 是否有信用借借款记录 0:无 1:有
     */
    private byte hadCredit ;

    /**
     * 当月还款计划
     */
    private List<CurrMonthRefundPlanDTO> currMonthRefundPlans;

    /**
     * 信用价值URL
     */
    private String creditValueUrl;
}
